package com.olddriver.crm.service;

import com.olddriver.crm.domain.Carinformation;
import com.olddriver.crm.page.PageResult;
import com.olddriver.crm.query.CarinformationQueryObject;

import java.util.List;

/**
 * Created by 季节 on 2017/12/4
 */
public interface ICarinformationService {
    int deleteByPrimaryKey(Long id);

    int insert(Carinformation record);

    Carinformation selectByPrimaryKey(Long id);

    List<Carinformation> selectAll();

    int updateByPrimaryKey(Carinformation record);

    PageResult query(CarinformationQueryObject qo);


    void changeState(Long id);
}
